package com.cskaoyan.catmall.config;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * 创建日期: 2022-01-12-09-59
 * author : LL
 * description: token添加用户类型
 */
public class CustomizedToken extends UsernamePasswordToken {

    private String loginType;

    public CustomizedToken(String username, String password, String loginType) {
        super(username, password);
        this.loginType = loginType;
    }

    public String getLoginType() {
        return loginType;
    }

    public void setLoginType(String loginType) {
        this.loginType = loginType;
    }
}